Titlecase Function

Returns the String passed to it with all alphabetic characters in Titlecase.

Syntax

result = Titlecase( value )

result = stringVariable.Titlecase


Parameters

value

String

The original string.



Notes

Converts all characters in a String to lowercase characters and then converts the first character of each word to uppercase. Numbers are not affected.


Examples

The example below converts the values passed to Titlecase

Dim s As String
s=Titlecase ("tHe Quick fOX") //returns "The Quick Fox"
s=Titlecase("THE LAZY DOG") //returns "The Lazy Dog"

.


See Also

Lowercase, Uppercase functions.